<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>易道名片管理系统-模板创建</title>
</head>
<body>
<div id="content" class="span-19 last" style="height:450px;">
<form:form name="template-form" method="post" commandName="template">
<form:hidden path="id"/>
<div class="span-10 panel">
	<div class="span-10 panel-title last">
		模板创建
	</div>
	<div class="span-10 last" style="color:red">
		<c:forEach items="${errors}" var="fieldError">
			<c:out value="${error.field}"/> - <c:out value="${error.defaultMessage}"/>
		</c:forEach>
	</div>
	<table>
		<tr>
			<td>
				name:
			</td>
			<td>
				<form:input path="name" cssStyle="width:90%"/>
			</td>
		</tr>
		<tr>
			<td>
				fileName:			
			</td>
			<td>
				<form:input path="email" cssStyle="width:90%"/>	
			</td>
		</tr>
		<tr>
			<td>
				description:			
			</td>
			<td>
				<form:input path="description" cssStyle="width:90%"/>	
			</td>
		</tr>
	</table>
	<div class="span-10 last form-button-bar">
		<input id="save-btn" type="submit" value="save">
	</div>
</div>
</form:form>
</div>
</body>
</html>